<div class="header">
    <back-Btn></back-Btn>
    分包合同
</div>
<div class="container task-review">
    <div class="list f_sk">
        <div user-info no="TaskReview.result.fileNo" depname="TaskReview.result.departmentName"
            date="TaskReview.result.applyDate" username="TaskReview.result.userName"></div>
        <div class="section">
            <div class="list-item flex">
                <div class="w40 c9">项目编号</div>
                <div class="w60">{{TaskReview.result.projectNo}}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">项目名称</div>
                <div class="w60" relative-module="Xm_ProjectStore" module-no="{{ TaskReview.result.projectNo }}">
                    {{ TaskReview.result.projectName }}
                </div>
            </div>
            <div class="list-item flex">
                <div class="c9 w40">供应商</div>
                <div class="w60" relative-module="Xm_SupplierStore" module-no="{{TaskReview.result.supplierNo}}"> {{TaskReview.result.supplierNo}}</div>
              </div>
            <div class="list-item flex" ng-show="TaskReview.result.contractNo">
                <div class="w40 c9">合同编号</div>
                <div class="w60">{{TaskReview.result.contractNo}}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">合同名称</div>
                <div class="w60">{{TaskReview.result.contractName}}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.signDate">
                <div class="c9 w40">签约日期</div>
                <div class="w60">{{TaskReview.result.signDate|dateFmt}}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.startWorkingDate">
                <div class="c9 w40">计划开工日期 </div>
                <div class="w60">{{TaskReview.result.startWorkingDate|dateFmt}}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.endWorkingDate">
                <div class="c9 w40">计划完工日期 </div>
                <div class="w60">{{TaskReview.result.endWorkingDate|dateFmt}}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.contractType">
                <div class="c9 w40">分包类型 </div>
                <div class="w60">{{TaskReview.result.contractType}}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.contractMode">
                <div class="c9 w40">分包模式 </div>
                <div class="w60">{{TaskReview.result.contractMode}}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.contractDuties">
                <div class="c9 w40">分包内容 </div>
                <div class="w60">{{TaskReview.result.contractDuties}}</div>
            </div>
            <div class="list-item flex">
                <div class="c9 w40">甲方</div>
                <div class="w60">{{TaskReview.result.partA}}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">乙方</div>
                <div class="w60">{{TaskReview.result.partB}}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.partBBank">
                <div class="w40 c9">乙方开户行</div>
                <div class="w60">{{TaskReview.result.partBBank}}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.partBAccount">
                <div class="w40 c9">乙方银行账号</div>
                <div class="w60">{{TaskReview.result.partBAccount}}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.partC">
                <div class="w40 c9">第三方</div>
                <div class="w60">{{TaskReview.result.partC}}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">发票类型</div>
                <div class="w60">{{TaskReview.result.invoiceType}}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">发票税率</div>
                <div class="w60">{{TaskReview.result.taxRate}}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">是否含税</div>
                <div class="w60">{{TaskReview.result.taxInclusive==0?"不含税":"含税"}}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.settlementMothed">
                <div class="w40 c9">结算方式</div>
                <div class="w60">{{TaskReview.result.settlementMothed}}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.mainClause">
                <div class="w40 c9">主要条款 </div>
                <div class="w60">{{TaskReview.result.mainClause}}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">合同状态 </div>
                <div class="w60" ng-switch="TaskReview.result.status">
                    <div ng-switch-when="0">未生效</div>
                    <div ng-switch-when="1">已生效</div>
                    <div ng-switch-when="2">已归档</div>
                    <div ng-switch-when="3">已作废</div>
                </div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">合同金额 </div>
                <div class="w60">{{TaskReview.result.contractAmount|NBFmt}}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">已付款 </div>
                <div class="w60">{{TaskReview.result.paidAmount|NBFmt}}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">已结算 </div>
                <div class="w60">{{TaskReview.result.settlementAmount|NBFmt}}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">已开票 </div>
                <div class="w60">{{TaskReview.result.invoiceAmount|NBFmt}}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">合同金额大写 </div>
                <div class="w60">{{TaskReview.result.amountInWorld}}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.remark">
                <div class="w40 c9">备注</div>
                <div class="w60">{{TaskReview.result.remark}}</div>
            </div>
            <!-- 自定义字段 -->
            <div checkuser-define field-map="TaskReview.result.customFields"></div>
            <div class="list table-list" ng-show="TaskReview.result.invoiceRevs&&TaskReview.result.invoiceRevs.length>0">
                <div class="info-title">已关联的进项发票记录</div>
                <div class="table-item" ng-repeat="item in TaskReview.result.invoiceRevs">
                    <div class="list-item">
                        <div class="item-label">编号 </div>
                        <div class="flow-content" relative-module="Xm_InputInvoice" module-no="{{ item.invoiceNo }}">
                            {{ item.invoiceNo }}
                        </div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">发票类别 </div>
                        <div class="flow-content">{{ item.invoiceType }}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">税率 </div>
                        <div class="flow-content">{{ item.taxRate }}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">货物或服务名 </div>
                        <div class="flow-content">{{ item.goodsName }}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">开票单位 </div>
                        <div class="flow-content">{{ item.makeInvoiceCompany }}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">价税总计 </div>
                        <div class="flow-content">{{ item.totalAmount }}</div>
                    </div>
                </div>
            </div>
            <div class="list table-list" ng-show="TaskReview.result.relevances&&TaskReview.result.relevances.length>0">
                <div class="info-title">已关联的付款明细记录</div>
                <div class="table-item" ng-repeat="item in TaskReview.result.relevances">
                    <div class="list-item">
                        <div class="item-label">付款编号 </div>
                        <div class="flow-content" relative-module="Xm_ProjectPayment" module-no="{{ item.targetNo }}">
                            {{ item.targetNo }}
                        </div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">付款金额 </div>
                        <div class="flow-content">{{ item.targetAmount }}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">收款人 </div>
                        <div class="flow-content">{{ item.targetPerson }}</div>
                    </div>
                </div>
            </div>
            <!-- 附件 -->
            <div class="file-upload" file-list checked="true" file-data="TaskReview.result.attachment"></div>
        </div>
        <div supply-agreement contracttype="Xm_ContractSubpackage" data="TaskReview.result"></div>
        <!-- 审查日志 -->
        <div log-list taskid="process_id"></div>
    </div>
</div>